/**
 * 右键菜单插件 - 提供右键操作菜单
 */

import type { Plugin } from '../../types'
import { ContextMenu } from './ContextMenu'

export const ContextMenuPlugin: Plugin = {
  id: 'context-menu',
  name: 'Context Menu Plugin',
  version: '1.0.0',
  description: '提供右键操作菜单',

  component: ContextMenu,

  onInstall(_context) {
    console.log('[ContextMenuPlugin] Installed')
  },

  onEnable(_context) {
    console.log('[ContextMenuPlugin] Enabled')
  },

  onDisable(_context) {
    console.log('[ContextMenuPlugin] Disabled')
  },

  onUninstall(_context) {
    console.log('[ContextMenuPlugin] Uninstalled')
  },
}
